import request from '@/utils/request'

export function getInfo() {
  return request({
    url: 'upms/user/info',
    method: 'get'
  })
}

export function logout() {
  return request({
    url: '/user/logout',
    method: 'post'
  })
}
export function getMenu() {
  return request({
    url: '/upms/menu',
    method: 'get'
  })
}
export function getList(query) {
  return request({
    url: '/upms/user/page',
    method: 'get',
    params: query
  })
}
